module.exports = {
    kong_admin: 'http://10.200.9.223:8001/',
    api_version_key: 20210313,
    is_publish: 0,  // 0=非发布模式，1=发布模式（去除版本号限制）
    services: [
        {
            name: 'platform',
            description: '基础平台',
            plugin: {
                'jwt': { enabled: true },
                'cors': { enabled: true },
                'response-transformer': { enabled: true },
            },
            targets: [
                ['10.200.9.237:7001', 100]
            ]
        },
        {
            name: 'esp',
            description: '企业安全服务',
            plugin: {
                'jwt': { enabled: true },
                'cors': { enabled: true },
                'response-transformer': { enabled: true },
            },
            websocket: true,
            targets: [
                ['10.200.9.36:8362', 100]
            ]
        },
        {
            name: 'cmt',
            description: '实施运维服务',
            websocket: true,
            plugin: {
                'jwt': { enabled: true },
                'cors': { enabled: true },
                'response-transformer': { enabled: true },
            },
            targets: [
                ['10.200.9.237:8366', 100]
            ]
        },
        {
            name: 'csi',
            description: '城市安全服务',
            plugin: {
                'jwt': { enabled: true },
                'cors': { enabled: true },
                'response-transformer': { enabled: true },
            },
            websocket: true,
            targets: [
                ['10.200.9.237:8001', 100]
            ]
        },
        {
            name: 'csiv1',
            description: '城市安全服务',
            websocket: true,
            plugin: {
                'jwt': { enabled: true },
                'cors': { enabled: true },
                'response-transformer': { enabled: true },
            },
            targets: [
                ['10.200.9.237:18361', 100]
            ]
        },
        {
            name: 'csichuzhou',
            description: '城市安全服务',
            plugin: {
                'jwt': { enabled: true },
                'cors': { enabled: true },
                'response-transformer': { enabled: true },
            },
            websocket: true,
            targets: [
                ['10.200.9.237:18361', 100]
            ]
        },
        {
            name: 'iot',
            description: '物联设备接入平台',
            plugin: {
                'jwt': { enabled: true },
                'cors': { enabled: true },
                'response-transformer': { enabled: true },
            },
            targets: [
                ['10.200.9.126:7030', 100]
            ]
        },
        {
            name: 'im',
            description: '统一推送服务',
            plugin: {
                'jwt': { enabled: true },
                'cors': { enabled: true },
                'response-transformer': { enabled: true },
            },
            websocket: true,
            targets: [
                ['10.200.9.237:3086', 100]
            ]
        },
        {
            name: 'stat',
            description: '统计服务',
            plugin: {
                'jwt': { enabled: true },
                'cors': { enabled: true },
                'response-transformer': { enabled: true },
            },
            targets: [
                ['10.200.9.47:8383', 100]
            ]
        },
        {
            name: 'sip',
            description: 'sip服务',
            plugin: {
                'jwt': { enabled: true },
                'cors': { enabled: true },
                'response-transformer': { enabled: true },
            },
            targets: [
                ['10.200.9.47:8384', 100]
            ]
        }
    ]
}
